﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MsTestUtilities.SolutionAnalysis;
using MsTestUtilities;

namespace MsTestUtilitiesTests.SolutionAnalysisTests.SolutionTests.HeaderParsing
{
    [TestClass]
    public class DegenerateFileTests
    {
        private SolutionFileReader _reader;
        
        [TestInitialize]
        public void Setup()
        {
            _reader = new SolutionFileReader();
        }

        [TestMethod]
        public void ParseNullTextTest()
        {
            ExAssert.Throws<ArgumentNullException>(() => _reader.Parse((string) null));
        }
    }
}
